import axios from './axios'
/**
 *
 * @param {*} params 人员管理
 */
/**
 *
 * @param {*} params 设备管理
 */
/**
 *
 * @param {*} params 安全管理
 */
//安全问题统计
export function getMdTypestatistics(params) {
    const url = '/ms/api/md/board/safety/check/type/statistics'
    return axios.get(url, params)
}
//安全问题部位统计
export function getMdPartstatistics(params) {
    const url = '/ms/api/md/board/safety/check/part/statistics'
    return axios.get(url, params)
}
//近期上报问题列表
export function getMdsafetycheckList(params) {
    const url = '/ms/api/md/board/safety/check/list'
    return axios.get(url, params)
}
//安全检查
export function getMdsafetycheckanalysis(params) {
    const url = '/ms/api/md/board/safety/check/analysis'
    return axios.get(url, params)
}
//安全动态
export function getMdsafetycheckLog(params) {
    const url = '/ms/api/md/board/safety/check/log'
    return axios.get(url, params)
}



/**
 *
 * @param {*} params 质量管理
 */


/**
 *
 * @param {*} params 用电监测
 */
//获取电箱列表
export function getelecBoxList(params) {
    const url = '/ms/api/md/board/electric/box/list'
    return axios.get(url, params)
}
//获取电箱历史记录
export function getelecBoxlog(params) {
    const url = '/ms/api/md/board/electric/box/log'
    return axios.get(url, params)
}
/**
 *
 * @param {*} params 环境监测
 */
//获取环境设备列表
export function getenvList(params) {
    const url = '/ms/api/md/board/env/list'
    return axios.get(url, params)
}
//获取环境最新数据
export function getenvlatest(params) {
    const url = '/ms/api/md/board/env/latest'
    return axios.get(url, params)
}
//获取环境历史数据
export function getenvLog(params) {
    const url = '/ms/api/md/board/env/log'
    return axios.get(url, params)
}
//历史空气质量分析
export function getenvLoganalysis(params) {
    const url = '/ms/api/md/board/env/log/analysis'
    return axios.get(url, params)
}
//获取环境报警情乱
export function getenvwarnList(params) {
    const url = '/ms/api/md/board/env/warn/record/list'
    return axios.get(url, params)
}
//获取环境晴雨表
export function getenvweather(params) {
    const url = '/ms/api/md/board/env/weather'
    return axios.get(url, params)
}

